class UploadItemObj {
  String originalFileName;
  String bucketName;
  String fileName;
  String pdfName;
  String url;

  UploadItemObj(
      {this.originalFileName,
      this.bucketName,
      this.fileName,
      this.pdfName,
      this.url});

  factory UploadItemObj.fromJson(Map<String, dynamic> json) {
    return UploadItemObj(
            originalFileName: json['originalFileName'] ?? '',
            bucketName: json['bucketName'] ?? '',
            fileName: json['fileName'] ?? '',
            pdfName: json['pdfName'] ?? '',
            url: json['url']) ?? '';
  }
}
